Node-RED block in Snap4City Microservice library node-red-contrib-snap4city-user is "synoptic-read">
Shows in output the current value of the Synoptic Variable chosen
Inputs
A JSON with these parameters:
- synopticId
string
- the id of the Synoptic to be read
- synopticVariableId
string
- the id of the Synoptic Variable to be read
An example of the JSON array filled with correct data:
{
"synopticId": 17849,
"synopticVariableId": "s4csvg_name"
}
or
{
"synopticId": 17849,
"synopticVariableId": "12345"
}
Outputs
- Value of Synoptic Variable that has been readed